﻿#include "serialwindow.h"
#include "ui_serialwindow.h"

SerialWindow::SerialWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::SerialWindow)
{
    ui->setupUi(this);
}

SerialWindow::~SerialWindow()
{
    delete ui;
}

void SerialWindow::on_btn_main_clicked()
{
    this->close();
    emit goMainWidget();
}

void SerialWindow::on_btn_setting_clicked()
{
    this->close();
    emit goSettingWidget();
}

void SerialWindow::on_btn_record_clicked()
{
    this->close();
    emit goRecordWidget();
}

void SerialWindow::on_btn_password_clicked()
{
    this->close();
    emit goPasswordWidget();
}
